//
//  XCNewMVModel.m
//  SoundOfNature
//
//  Created by 梁新昌 on 16/3/17.
//  Copyright © 2016年 梁新昌. All rights reserved.
//

#import "XCNewMVModel.h"

@implementation XCNewMVModel
- (void)dealloc {
    
    [_mvList release];
    [_songName release];
    [_singerName release];
    
    [super dealloc];
    
}
- (instancetype)initWithDataSource:(NSDictionary *)dataSource
{
    self = [super initWithDataSource:dataSource];
    if (self) {

        NSMutableArray *mutableArray = [[NSMutableArray alloc] initWithCapacity:0];
        for (NSDictionary *dic in self.mvList) {
            XCNewMVListModel *newMVListModel = [[XCNewMVListModel alloc] initWithDataSource:dic];

            [mutableArray addObject:newMVListModel];
        }
        self.mvList = [NSArray arrayWithArray:mutableArray];
    }
    return self;
}
@end
